package com.hanggold.springboot.lesson4.annotation;


import com.hanggold.springboot.lesson4.condition.OnSystemPropertiesCondition;
import org.springframework.context.annotation.Conditional;

import java.lang.annotation.*;

@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Conditional(OnSystemPropertiesCondition.class)
public @interface ConditionalOnSystemPropertyCondition {


    String value() default "";

    String name()  default "";


}
